<template>
  <div class="main">
    <div class="title">添 加 网 关</div>
    <div class="content">
      <div><span>网络名称:</span><input type="text" /></div>
      <div><span>网 关:</span><input type="text" /></div>
      <div><button @click="back">确定</button><button  @click="back">取消</button></div>
    </div>
  </div>
</template>
<script setup>

import { ref } from 'vue';
import { useRouter } from 'vue-router';
  const router=useRouter();
  const back=()=>{
    router.push({path:"/sheZhi",query:{data:'ping'}})
  }
</script>
<style scoped>
@import url("./addNet.less");
</style>